package com.fa4j.common.web.model;

import com.fa4j.common.base.model.BaseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.RequiredArgsConstructor;


@Schema(description = "应用类型")
@Getter
@RequiredArgsConstructor
public enum AppType implements BaseEnum {

    MANAGE(1, "管理端", true),
    CLIENT(2, "客户端", false),
    OPEN(3, "开放端", true),

    ;

    private final Integer code;
    private final String name;

    /**
     * 是否需要权限
     */
    private final boolean auth;


}

